package it.cqupt.service.store;

import com.github.pagehelper.PageInfo;
import it.cqupt.domain.store.Catalog;

import java.util.List;

public interface CatalogService {
    void save(Catalog catalog);
    void delete(Catalog catalog);
    void update(Catalog catalog);
    Catalog findById(String id);
    List<Catalog> findAll();
    //使用pagehelper这个工具来直接实现分页显示
    PageInfo findAll(int page, int size);
}
